package com.threegroup.web.dto;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import java.util.Date;
import java.util.List;

@Data
public class FlavorESDTO {
    private static final long serialVersionUID = 1L;
    @JsonFormat
    private Long id;
    @JsonFormat
    private Long dishId;
    @JsonFormat
    private String name;
    @JsonFormat
    private List<String> value;
    @JsonFormat
    private Long creator;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
    private Date createDate;
    @JsonFormat
    private Long updater;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
    private Date updateDate;
    @JsonFormat
    private Integer isDeleted;
}
